package com.example.supermonkeysm.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum GenderEnum {
    MALE(1,"男"),
    FEMALE(2,"女");

    @EnumValue
    private final Integer gender;
    @JsonValue
    private final String genderName;

}
